package com.ray.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.ray.bean.CustomerBean;
import com.ray.bean.MailConfigBean;


public interface CompanyEmailMapper {


	/**
	 * @name 
	 * @isUrl true
	 * @param loginCompany(密码)
	 * @param map
	 * @return
	 */
	List<MailConfigBean> getCompanyEmailList(Map map);

	/**
	 * 通过id获取邮件配置
	 * @param id
	 * @return
	 */
	MailConfigBean getMailConfigById(@Param("id")String id);

	/**
	 * 修改邮件配置
	 * @param map
	 * @return
	 */
	int updateCompanyEmail(Map map);

	/**
	 * 添加配置邮件
	 * @param map
	 * @return
	 */
	int addCompanyEmail(Map map);

	

}
